package com.lxmes.pm.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lxmes.common.annotation.Excel;
import com.lxmes.common.core.domain.BaseEntity;

/**
 * 成果奖励对象 a_reward_info
 * 
 * @author zhangzhiyu
 * @date 2023-04-04
 */
public class ARewardInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 获奖项目名称 */
    @Excel(name = "获奖项目名称")
    private String projectName;

    /** 获奖项目编号 */
    @Excel(name = "获奖项目编号")
    private String projectCode;

    /** 奖项名称 */
    @Excel(name = "奖项名称")
    private String rewardName;

    /** 奖项级别 */
    @Excel(name = "奖项级别")
    private String rewardLevel;

    /** 获奖日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "获奖日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date rewardDate;

    /** 获奖学院单位 */
    @Excel(name = "获奖学院单位")
    private String rewardUnit;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProjectName(String projectName) 
    {
        this.projectName = projectName;
    }

    public String getProjectName() 
    {
        return projectName;
    }
    public void setProjectCode(String projectCode) 
    {
        this.projectCode = projectCode;
    }

    public String getProjectCode() 
    {
        return projectCode;
    }
    public void setRewardName(String rewardName) 
    {
        this.rewardName = rewardName;
    }

    public String getRewardName() 
    {
        return rewardName;
    }
    public void setRewardLevel(String rewardLevel) 
    {
        this.rewardLevel = rewardLevel;
    }

    public String getRewardLevel() 
    {
        return rewardLevel;
    }
    public void setRewardDate(Date rewardDate) 
    {
        this.rewardDate = rewardDate;
    }

    public Date getRewardDate() 
    {
        return rewardDate;
    }
    public void setRewardUnit(String rewardUnit) 
    {
        this.rewardUnit = rewardUnit;
    }

    public String getRewardUnit() 
    {
        return rewardUnit;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("projectName", getProjectName())
            .append("projectCode", getProjectCode())
            .append("rewardName", getRewardName())
            .append("rewardLevel", getRewardLevel())
            .append("rewardDate", getRewardDate())
            .append("rewardUnit", getRewardUnit())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
